﻿// -----------------------------------------------------------------------
// <copyright file="ItemType.cs" company="">
// TODO: Update copyright text.
// </copyright>
// -----------------------------------------------------------------------

namespace DataStructures___Exc1
{
    using System;
    using System.Collections.Generic;
    using System.Linq;
    using System.Text;

    /// <summary>
    /// TODO: Update summary.
    /// </summary>
    public class ItemType
    {
        private int m_left,m_right,m_nthNumber;

        public ItemType() { }

        public ItemType(int i_left,int i_right, int i_nthNumber)
        {
            m_left = i_left;
            m_right = i_right;
            m_nthNumber = i_nthNumber;
        }

        public int Left
        {
            set
            {
                m_left = value;
            }
            get
            {
                return m_left;
            }
        }

        public int Right
        {
            set
            {
                m_right = value;
            }
            get
            {
                return m_right;
            }
        }

        public int Number
        {
            set
            {
                m_nthNumber = value;
            }
            get
            {
                return m_nthNumber;
            }
        }
        
    }
}
